<#include "common/main.html">
<#macro bodyId>merchandise-mg</#macro>
<#macro content>

<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main ty-common-page">
    <h1 class="page-header">系统配置管理
    </h1>

    <div class="table-responsive">
        <table class="table ac-table table-hover">
            <thead>
            <tr>
            		<th>配置描述</th>
                <th>key</th>
                <th>value</th>
                <th>图片</th>
                <th class="operate1">操作</th>
            </tr>
            </thead>
            <tbody>
            <#list commonConfigList as item>
            <tr>
            		<td>${item.remark}</td>
                <td>${item.configKey}</td>
                <td><div style="width: 700px;">${item.configValue}</div></td>
                <td><#if item.configValue?starts_with("http://") || item.configValue?starts_with("https://")> <a href="${item.configValue}" target="_blank"><img src="${item.configValue}" style="width:80px;"/></a> </#if> </td>
                <td class="operation">
                   <div class="dropdown">
                       <a class="J_edit" href="/sys/config/edit?configKey=${item.configKey}">修改</a>
                   </div>
                </td>
            </tr>
            </#list>
            </tbody>
        </table>
    </div>
</div>

<script>
    var config = {

    }
</script>

</#macro>
